f04adf

f04adf © Numerical Algorithms Group, 2002.

Purpose

F04ADF Approximate solution of complex simultaneous linear equations with multiple right-hand sides (Black Box)

Synopsis

[a,c,ifail] = f04adf(a,b<,ifail>)

Description

 
 Given a set of complex linear equations AX=B, the routine first 
 computes an LU factorization of A with partial pivoting, PA=LU, 
 where P is a permutation matrix, L is lower triangular and U is 
 unit upper triangular. The columns x of the solution X are found 
 by forward and backward substitution in Ly=Pb and Ux=y, where b 
 is a column of the right-hand side matrix B.
 

Parameters

f04adf

Required Input Arguments:

a (:,:)                               complex
b (:,:)                               complex

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

a (:,:)                               complex
c (:,:)                               complex
ifail                                 integer